﻿/*
    Write an if-statement that takes two double variables a and b and exchanges their values if the first one is 
    greater than the second one. As a result print the values a and b, separated by a space.
 */

using System;

class ExchangeIfGreater
{
    static void Main()
    {
        double numberA;
        double numberB;
        Console.WriteLine("Enter two numbers: ");

        numberA = double.Parse(Console.ReadLine());
        numberB = double.Parse(Console.ReadLine());
        Console.WriteLine(new string('-', 10));
        if (numberA > numberB)
        {
            Console.WriteLine("First number is the bigger one");
        }
        if (numberB > numberA)
        {
            Console.WriteLine("Second number is the bigger one");
        }

    }
}